Efficient Approximation of Well-Founded Justification and Well-Founded Domination
نویسندگان
چکیده
Many native ASP solvers exploit unfounded sets to compute consequences of a logic program via some form of well-founded negation, but disregard its contrapositive, well-founded justification (WFJ), due to computational cost. However, we demonstrate that this can hinder propagation of many relevant conditions such as reachability. In order to perform WFJ with low computational cost, we devise a method that approximates its consequences by computing dominators in a flowgraph, a problem for which linear-time algorithms exist. Furthermore, our method allows for additional unfounded set inference, called well-founded domination (WFD). We show that the effect of WFJ and WFD can be simulated for a important classes of logic programs that include reachability. This paper is a corrected version of [7]. It has been adapted to exclude Theorem 10 and its consequences, but provides all missing proofs.
منابع مشابه
Efficient Implementation of the Well-founded and Stable Model Semantics
An implementation of the well-founded and stable model semantics for range-restricted function-free normal programs is presented. It includes two modules: an algorithm for implementing the two semantics for ground programs and an algorithm for computing a grounded version of a range-restricted function-free normal program. The latter algorithm does not produce the whole set of ground instances ...
متن کاملXsb: a System for Eeciently Computing Well-founded Semantics
The well-founded model provides a natural and robust semantics for logic programs with negative literals in rule bodies. We implemented the well-founded semantics in the SLG-WAM of XSB 19]. Performance results indicate that the overhead of delay and simpliica-tion to Prolog | or tabled | evaluations is minimal. To compute the well-founded semantics, the SLG-WAM adds to an eecient tabling engine...
متن کاملAproximating the Well-Founded Semantics for Normal Logic Programs using Abstract Interpretation
The well-founded semantics for normal logic programs is deened in a constructive way through the use of a xpoint operator and in general is not computable. We propose an approach for approximating through abstract interpretation the concrete behavior of normal logic programs described by the well-founded semantics. We provide also an abstract well-founded semantics scheme, based on an abstract ...
متن کاملUltimate Well-Founded and Stable Semantics for Logic Programs with Aggregates
In [3] we investigate the problem of defining a well-founded and stable semantics for programs with aggregates. Our work is based on Approximation Theory [1] which is a general algebraic framework for approximating non-monotone operators on a complete lattice L by approximating operators on the bi-lattice L. The theory identifies basic properties of the approximating operators and gives a metho...
متن کاملWell-Founded Semantics and the Algebraic Theory of Non-monotone Inductive Definitions
Approximation theory is a fixpoint theory of general (monotone and non-monotone) operators which generalizes all main semantics of logic programming, default logic and autoepistemic logic. In this paper, we study inductive constructions using operators and show their confluence to the well-founded fixpoint of the operator. This result is one argument for the thesis that Approximation theory is ...
متن کامل